<div class="container" id = "edit-question">
  <span>
      <div class="bc">
        <span>Tên khảo sát: </span>
        <span id="projectName"><strong><?=$question[0]["survey_name"]?></strong></span>
        <span id="editProject"  class="input-append" style="display:none;">
          <input id="<?=$question[0]["survey_id"]?>" type="text" name="editProject" value="<?=$question[0]["survey_name"]?>">
          <button class="btn btn-primary" type="button" id="edit" onclick="Survey.editProject(); return false;">Sửa</button>
        </span>
        <span id="edit-sur" style="cursor:pointer;color:#205081;" onclick="Survey.preEditProject(); return false;">&nbsp;&nbsp;<i class="icon-pencil"></i> Sửa</span>
      </div>
      </span>
      <hr class="softer">
<?php

  $idProject = $this->uri->segment(3);
  $ctrl = $this->uri->segment(5);
    echo $ctrl($question, $oneQuestion);
?>
</div><br>
<div class="span9 offset1 text-right">
  <div class = 'alert-save'>Lưu câu hỏi khảo sát thành công</div>
  <span>
    <a href="<?php echo site_url('tao-cau-hoi-khao-sat/'.$idProject);?>" class="btn btn-link">Bỏ qua</a>
    <button class="btn-ksv save-update"  onclick = "Survey.proccessAndSaveQ(0,0,1,'<?=$idProject?>','<?=$ctrl?>',0); return false;">Lưu câu hỏi</button>
    <button class="btn-ksv"  onclick = "Survey.proccessAndSaveQ(0,0,1,'<?=$idProject?>','<?=$ctrl?>',1); return false;">Lưu câu hỏi & thoát</button>
  </span>
  <span class="loading" style="left:75%;"></span>
</div><br><br><br>

<script>
$().ready(function(){
  $('input.myClass').prettyCheckable({
    color: 'blue'
  });
});
</script>
